<div id="header">
   <div id="top_header">
        
        <div id="section_top">
                <div id="top_header_left"><a onclick="location='index.php?action=cancel'">SMASHLIX</a></div>
            <?php  if(isset($_SESSION["user"]))
                        {?>
                <!-- LEFT-HEADER -->             
                <div id="top_header_icon">
                	<div><?php include_once 'js/tweet.js'; ?></div>
                    <div style="padding-top: 3px;"><?php include_once 'js/google.js'; ?></div>
                    <div style="padding-top: 7px;"><?php include_once 'js/linked.js'; ?></div>
                    <div style="padding-top: 7px;"><?php include_once 'js/facebook.js'; ?></div>
                </div>                	
				<!-- RIGHT-HEADER -->
                <div id="top_header_right">
                    
                        <a href="views/link_direction.php?action=logout">LOG OUT</a> 
                     <?php }else{   ?>
                <div id="top_header_right">
                    <a onclick="$('#login_popup').fadeIn();$('#bg-login').fadeIn();$('#notice').hide();" href="#">LOGIN </a>| 
                    <a href="views/link_direction.php?action=registration">REGISTER</a>
                    <?php } ?>
                    
                </div>              
                </div>
        </div>
            <?php           
            if($_SESSION['action'] == 'registration') include_once 'views/registration_form.php';
            else { ?>
            <div id="slide_top_header">
            	
                <div id="silde_header">
	                <div id="silde_header_slide">
	                	<?php 
		                	include_once 'views/slide_show.php';
		                ?>
	                </div>
                </div>
            </div>
            <?php } ?>
	</div>